<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>修改员工信息</title>
</head>
<body>
<div id="right">
			<h2>员工修改</h2>
                        <form action="db_save.php?e_id=<?php echo $one['e_id']?>" method="post">
				<p class="one">
                                    名字:<input class="name" name="e_name" type="text"  value="<?php echo $one['e_name']?>"/><br/>
				所属部门:<input class="bumen" name="e_dept" type="text"  value="<?php echo $one['e_dept']?>"/>
				</p>
				<p class="tow">
					<input type="radio" name="e_img" value="images/1.jpg" checked="checked" 
                                               <?php
                                               if($one['e_img']=='images/1.jpg') echo'checked="checked"';
                                               ?>
                                               /><img src=" images/1.jpg" alt="" />
					<input type="radio" name="e_img" value="images/2.jpg" checked="checked" 
                                               <?php
                                               if($one['e_img']=='images/2.jpg') echo'checked="checked"';
                                               ?>
                                               /><img src=" images/2.jpg" alt="" />
                                        <input type="radio" name="e_img" value="images/3.jpg" checked="checked" 
                                               <?php
                                               if($one['e_img']=='images/3.jpg') echo'checked="checked"';
                                               ?>
                                               /><img src=" images/3.jpg" alt="" />
                                        <input type="radio" name="e_img" value="images/4.jpg" checked="checked" 
                                               <?php
                                               if($one['e_img']=='images/4.jpg') echo'checked="checked"';
                                               ?>
                                               /><img src=" images/4.jpg" alt="" />
				</p>
                                <p class="one">
				出生年月:<input class="brith" name="date_of_birth" type="text" placeholder="" value="<?php echo $one['date_of_birth']?>"/><br/>
				入职日期:<input class="entry" name="date_of_entry" type="text" placeholder="" value="<?php echo $one['date_of_entry']?>"/>
				</p>
				<p class="thr">
                                    <input class="btn" type="submit" value="保存资料" />
                                    <input class="btn" type="reset" value="重新填写" />
                                    <input class="btn" type="button" value="取消" onclick="javascript:window.location.href='index.php';" style="float: left;margin-left:40px;"/>
                                </p>
			</form>
			<div class="close"></div>
                        </div>
                                                                     
</body>
</html>